package hardfood.cnblogs;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.configuration.file.FileConfiguration;

public class Tiiiis {
    public static void OnTimeRun(int t){
        World xe = Bukkit.getWorlds().get(0);
        if(ConfigReader.PlayerSpeedAdd()){
            xe.setTime(t*ConfigReader.GetTimeSpeed());
        }else {
            xe.setTime(t*ConfigReader.GetTimeSpeed()/Bukkit.getOnlinePlayers().size());
        }

    }
}
